/**
 * @file
 * @auth zhaojing
 * @date 202016/12/23
 */

import ajax from '../../../../grsc-base/util/ajax';

export default {

    /**
     * 修改支付密码
     * @param param
     * @param header
     * @returns {*}
     */
    setPayPwd(param = {}, header = {}) {
        return ajax.post('/exchangeApi/user/pay-password', {
            data: param,
            header: header
        });
    },


    /**
     * 锁仓
     * assetCode
     * amount
     * */
    lockPosition(param = {},header = {}){
        return ajax.get('/exchangeApi/lockposition/lock', {
            data: param,
            header:header
        });
    },

    /**
     * 解锁
     * */
    unlockPosition(param = {},header = {}){
        return ajax.get('/exchangeApi/lockposition/unlock', {
            data: param,
            header:header
        });
    },

    /**
     *
     * */
    lockPositionInfo(param = {}){
        return ajax.get('/exchangeApi/lockposition/lock-info', {
            data: param
        });
    },


    /**
     *
     * */

    lockPositionList(param = {}){
        return ajax.get('/exchangeApi/lockposition/lock-list', {
            data: param
        });
    },


    /**
     *
     * */

}

